package com.sengled.cloud.biz.union.mgt.model.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import lombok.Data;

import com.sengled.cloud.biz.union.mgt.model.vo.SelectBoxDataVo;

/**
 * [STRATO MyBatis Generator]
 * Table: user_account
@mbggenerated do_not_delete_during_merge 2017-11-07 13:50:32
 */

public class UserAccountDetail implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7859032994612911627L;

	/**
     *   主键
     * Column: user_account.id
    @mbggenerated 2017-11-07 13:50:32
     */
    private Long id;

    public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getAccountPwd() {
		return accountPwd;
	}

	public void setAccountPwd(String accountPwd) {
		this.accountPwd = accountPwd;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getAccountType() {
		return accountType;
	}

	public void setAccountType(Integer accountType) {
		this.accountType = accountType;
	}

	public String getAccountTypeDesc() {
		return accountTypeDesc;
	}

	public void setAccountTypeDesc(String accountTypeDesc) {
		this.accountTypeDesc = accountTypeDesc;
	}

	public Integer getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(Integer accountStatus) {
		this.accountStatus = accountStatus;
	}

	public String getAccountStatusDesc() {
		return accountStatusDesc;
	}

	public void setAccountStatusDesc(String accountStatusDesc) {
		this.accountStatusDesc = accountStatusDesc;
	}

	public List<UserShopAccountPermission> getShopPermissionsList() {
		if(shopPermissionsList==null){
			shopPermissionsList = new ArrayList<UserShopAccountPermission>();
		}
		return shopPermissionsList;
	}

	public void setShopPermissionsList(
			List<UserShopAccountPermission> shopPermissionsList) {
		this.shopPermissionsList = shopPermissionsList;
	}

	public List<UserShopAccountPermission> getShopPermissionsSelectedList() {
		if(shopPermissionsSelectedList==null){
			shopPermissionsSelectedList = new ArrayList<UserShopAccountPermission>();
		}
		return shopPermissionsSelectedList;
	}

	public void setShopPermissionsSelectedList(
			List<UserShopAccountPermission> shopPermissionsSelectedList) {
		this.shopPermissionsSelectedList = shopPermissionsSelectedList;
	}

	public List<Long> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<Long> roleIds) {
		this.roleIds = roleIds;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	/**
     *   账户名
     * Column: user_account.account_name
    @mbggenerated 2017-11-07 13:50:32
     */
    private String accountName;

    /**
     *   登录密码
     * Column: user_account.account_pwd
    @mbggenerated 2017-11-07 13:50:32
     */
    private String accountPwd;

    /**
     *   所属用户
     * Column: user_account.user_id
    @mbggenerated 2017-11-07 13:50:32
     */
    private Long userId;
    
    private String userName;

   

    /**
     *   账户属性
     * Column: user_account.account_type
    @mbggenerated 2017-11-07 13:50:32
     */
    private Integer accountType;
    
    private String accountTypeDesc;

    /**
     *   账户状态
     * Column: user_account.account_status
    @mbggenerated 2017-11-07 13:50:32
     */
    private Integer accountStatus;
    
    private String accountStatusDesc;

    
    private List<UserShopAccountPermission> shopPermissionsList = new ArrayList<UserShopAccountPermission>();
    
    private List<UserShopAccountPermission> shopPermissionsSelectedList = new ArrayList<UserShopAccountPermission>() ;
    
    //private List<SelectBoxDataVo> allRoleList;
    //private List<SelectBoxDataVo> selectedRoleList;
    
   // private List<SelectBoxDataVo> userList;
    
    //private List<Long> shopAccountIds;
    private List<Long> roleIds;
    
    private String roleName;
    
   
//    private List<Long> selectedRoleIds;
//    
//    private List<SelectBoxDataVo> allRoleList;
//    
//    private List<ShopAccount> allShopList;
//    
//    private List<Long> selectedShopIds;
    
    
}